home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 1998 January / PC Answers Issue 49 Cover CD January 1998.iso / Apps / Director / DATA.Z / Lists Lingo.dir / Standard Elements_2_Initialize Standard Movie Handlers.ls < prev    next >
Encoding:
Text File  |  1997-05-10  |  713 b   |  42 lines

  1. on openWindow
  2.   if the windowType of the activeWindow <> 4 then
  3.     set the windowType of the activeWindow to 4
  4.     set the title of the activeWindow to the movieName
  5.   end if
  6. end
  7.  
  8. on closeWindow
  9.   if count(the windowList) < 2 then
  10.     clearGlobals()
  11.   end if
  12.   forget(the activeWindow)
  13. end
  14.  
  15. on activateWindow
  16.   continue()
  17. end
  18.  
  19. on deactivateWindow
  20.   pause()
  21. end
  22.  
  23. on initStandardElements
  24.   global gMaxChannels, gListsButtonPropertyList
  25.   set gMaxChannels to 48
  26.   if not voidp(gListsButtonPropertyList) then
  27.   else
  28.     BuildButtonPropertyList([])
  29.     set gListsButtonPropertyList to the result
  30.   end if
  31. end
  32.  
  33. on stopMovie
  34.   sound stop 1
  35.   sound stop 2
  36.   forget(the activeWindow)
  37. end
  38.  
  39. on idle
  40.   doRollOverCheck()
  41. end
  42.